package com.joe.demo.chat.server.session;

import lombok.Data;

import java.util.Collections;
import java.util.Set;

/**
 * @Description
 * @Author gaojw
 * @Date 2024-08-30
 */
@Data
public class Group {

    private String groupName;
    private Set<String> members;

    public static final Group EMPTY_GROUP = new Group("empty", Collections.emptySet());

    public Group(String groupName, Set<String> members) {
        this.groupName = groupName;
        this.members = members;
    }
}
